// This file was decompiled using VCSCM.ini published on 2021-01-30
{$CLEO .cs}

0000: NOP 
0001: wait 2050 ms 
0004: $9105 = 60000 // $ = int   
0004: $9106 = 0 // $ = int

          
:Noname_7
0001: wait 50 ms 


 



00D6: if and
0038:   $9106 == 1 // $ == int  
0038:   $onmission == 1 // $ == int  
004D: jump_if_false @Noname_7 


014E: start_timer_at $9105 count_in_direction 1   
//045A: text_draw_1number 100.0 100.0 'NUMBER' $9105
00BC: text_highpriority 'sidpr61' time 11500 1 // rafael 
0167: 10@ = create_marker_at 262.2478 -357.5874 11.1 color 1 display 3

:checkLoc1
0001: wait 0 ms

  
0001: wait 0 ms 
00D6: if or
8256:  not player $PLAYER_CHAR defined
0117:  player $PLAYER_CHAR wasted  
0038:   $9105 == 0 // $ == int
then      
    00D6: if
    0038:   $9105 == 0 // $ == int
    then
        00BC: text_highpriority 'sidpr62' time 7000 1 // rafael
    end
    
    0004: $9106 = 0 // $ = int  
    0164: disable_marker 10@ 
    0001: wait 50 ms 
    0004: $onmission = 0 // $ = int
    0002: jump @Noname_7 
end 

00D6: if or
00F6:   player $player_char 0 262.2478 -357.5874 11.1 radius 30.0 30.0 30.0 
00F7:   player $player_char sphere 0 near_point_in_car 262.2478 -357.5874 11.1 radius 30.0 30.0 30.0 
004D: jump_if_false @checkLoc1


0164: disable_marker 10@ 

0247: request_model 175
                      
                
:CHOLOS_168
0001: wait 0 ms
00D6: if 
0248:   model 175 available 
004D: jump_if_false @CHOLOS_168 
038B: load_requested_models
                  
00A5: 0@ = create_car 175 at 262.2478 -357.5874 11.1

0001: wait 1000 ms

0175: set_car 0@ z_angle_to 223.0

0161: 10@ = create_marker_above_car 0@ color 4 display 3

00BC: text_highpriority 'sidpr57' time 11500 1 // rafael 


0006: 5@ = 0 // @ = int



:checks

       
0001: wait 0 ms 


00D6: if and
0039:  5@ == 0 // @ == int 
0038:   $9105 == 0 // $ == int
then 
    0004: $9106 = 0 // $ = int 
    00BC: text_highpriority 'sidpr62' time 7000 1 // rafael
    010D: set_player $player_char wanted_level_to 3                                                            
    0001: wait 6500 ms 
    0002: jump @clearProps 
end

00D6: if
0119:   car 0@ wrecked
then
    00D6: if 
    0039:   5@ == 0 // @ == int
    then 
        014F: stop_timer $9105
    end
    0004: $9106 = 0 // $ = int 
    00BC: text_highpriority 'sidpr67' time 7000 1 // rafael
    010D: set_player $player_char wanted_level_to 3                                                            
    0001: wait 6500 ms 
    0002: jump @clearProps 
end
    
0001: wait 0 ms 
00D6: if and
0039:   5@ == 0 // @ == int
00DC:   player $PLAYER_CHAR in_car 0@
then         
    014F: stop_timer $9105 
    010D: set_player $player_char wanted_level_to 4        
    0164: disable_marker 10@ 
    00BC: text_highpriority 'sidpr58' time 451500 1 // rafael 
    0006: 5@ = 1 // @ = int
end



00D6: if and
0039:  5@ == 1 // @ == int
810F:  not player $PLAYER_CHAR wanted_level > 0 
then  
    0167: 10@ = create_marker_at 111.2636 -1164.1853 17.0 color 1 display 3 
    03BC: 6@ = create_sphere 111.2636 -1164.1853 17.0 2.75 
    00BC: text_highpriority 'sidpr59' time 11500 1 // rafael  
    0006: 5@ = 2 // @ = int
end
        
0001: wait 0 ms 
00D6: if and
0019:  5@ > 0 // @ > int  
80DC:  not player $PLAYER_CHAR in_car 0@
then 
    0004: $9106 = 0 // $ = int 
    00BC: text_highpriority 'sidpr60' time 7000 1 // rafael
    010D: set_player $player_char wanted_level_to 3                                                            
    0001: wait 6500 ms 
    0002: jump @clearProps 
end

      
0001: wait 0 ms 
00D6: if or
8256:  not player $PLAYER_CHAR defined
0117:  player $PLAYER_CHAR wasted
then  
0004: $9106 = 0 // $ = int
0002: jump @clearProps 
end   
 


  
0001: wait 0 ms 
00D6: if and     
0039:  5@ == 2  
00F7:  player $player_char sphere 0 near_point_in_car 111.2636 -1164.1853 17.0 radius 2.0 2.0 2.0 
then    
    0006: 5@ = 3 // @ = int    
    0247: request_model 337 
    :CHOLOS_16811     
    0001: wait 20 ms
    00D6: if 
    0248:   model 337 available 
    004D: jump_if_false @CHOLOS_16811
    038B: load_requested_models
            
    0107: 9@ = create_object 337 at 94.9117 -1175.75 9.84188  //mission one 
         
    0394: play_music 1
    00BA: text_styled 'sidpsd' 7000 ms 1  // An Old Friend
        
    0109: player $PLAYER_CHAR money += 1000  
    010D: set_player $player_char wanted_level_to 0 
    0004: $9106 = 2 // $ = int
    0249: release_model 337        
    0002: jump @clearProps 
end        


0002: jump @checks 


:clearProps
0001: wait 0 ms 
00D6: if
8038:  not $9106 == 2 // $ == int
then 
    00BC: text_highpriority 'sidpr15' time 5000 1 
else
    00BC: text_highpriority 'empty' time 10 1 
    0164: disable_marker 10@  
    03BD: destroy_sphere 6@
end


00D6: if   
0039:   5@ == 2 // @ == int
then 
    0164: disable_marker 10@  
    03BD: destroy_sphere 6@
end

00D6: if   
0039:   5@ == 0 // @ == int
then 
    0164: disable_marker 10@ 
end

01C3: mark_car_as_no_longer_needed 0@

0249: release_model 175  
0001: wait 50 ms 
0004: $onmission = 0 // $ = int

0002: jump @Noname_7

